export const indexTypeList = () => [
  '全部', '提醒', '未租', '已租'
]

export const indexMoneyList = () => [
  '不限', '500以下', '500 - 1000', '1000 - 1500', '1500 - 2000', '2000 - 3000', '3000 - 4500', '4500以上'
]

export const roomModelData = () => [
  ['0室', '1室', '2室', '3室', '4室', '5室', '6室', '7室', '8室', '9室'],
  ['0厅', '1厅', '2厅', '3厅', '4厅', '5厅', '6厅', '7厅', '8厅', '9厅'],
  ['0卫', '1卫', '2卫', '3卫', '4卫', '5卫', '6卫', '7卫', '8卫', '9卫']
]

export const roleKeys = {
  houseList: 'ROOMMANAGE',
  addHouseList: 'ADDROOM',
  editHouseList: 'EDITROOM',
  delHouseList: 'DELETEROOM',
  wxSendPwdHouseList: 'SENDROOMPASSWORD',
  checkInHouseList: 'CHECKIN',
  contract: 'RENTCHECKIN',
  editContract: 'EDITCHECKIN',
  delContract: 'DELETECHECKIN',
  wxSendNewContract: 'SENDCHECKIN',
  bill: 'WAITRENTMONEY',
  addBill: 'ADDWAITMONEY',
  editBill: 'EDITWAITMONEY',
  delBill: 'DELETEWAITMONEY',
  getMoneyBill: 'GETWAITMONEY',
  wxSendNewBill: 'SENTWAITMONEY',
  billHistory: 'RENTMONEYHISTORY',
  editBillHistory: 'EDITMONEYHISTORY',
  delBillHistory: 'DELETEMONEYHISTORY',
  checkout: 'RETURNROOM',
  readMeter: 'QUICKMETRE'
}

export const homeIconList = [
  { icon: 'icon-zuixinfangyuan house', title: '房源', link: 'houseList', roleName: roleKeys.houseList },
  { icon: 'icon-gaizhang lease', title: '出租', link: 'contract', roleName: roleKeys.contract },
  { icon: 'icon-htmal5icon32 bill', title: '房租单', link: 'bill', roleName: roleKeys.bill },
  { icon: 'icon-tuichu meter', title: '退房', link: 'checkout', roleName: roleKeys.checkout },
  { icon: 'icon-hetong8 contract', title: '合同', link: 'contract' },
  { icon: 'icon-ren person', title: '租客', link: 'tenant' },
  { icon: 'icon-gonggao notice', title: '公告', link: 'notice' },
  { icon: 'icon-tongji statistics', title: '统计', link: 'statistics' },
  { icon: 'icon-gonglve strategy', title: '攻略', link: 'strategy' },
  { icon: 'icon-shezhi setting', title: '我的', link: 'me' }
]

export const homeTenantIconList = () => [
  [
    { icon: 'icon-zuixinfangyuan house', title: '房间', link: 'houseTenant' },
    { icon: 'icon-htmal5icon32 bill', title: '房租单', link: 'billTenant' },
    { icon: 'icon-hetong8 contract', title: '合同', link: 'contractTenant' }
  ],
  [
    { icon: 'icon-shezhi setting', title: '我的', link: 'me' }
  ]
]

export const contractTypeList = () => [
  '全部', '生效', '已退'
]

export const rechargeDurationList = () => [
  { value: '1个月', num: 1 },
  { value: '2个月', num: 2 },
  { value: '3个月', num: 3 },
  { value: '半年', num: 6 },
  { value: '1年', num: 12 },
  { value: '2年', num: 24 },
  { value: '3年', num: 36 }
]
